import { OverlayModule } from '@angular/cdk/overlay';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';

import { APES_MESSAGE_DEFAULT_CONFIG_PROVIDER } from './apes-message-config';
import { ApesMessageContainerComponent } from './apes-message-container.component';
import { ApesMessageComponent } from './apes-message.component';
import { ApesMessageService } from './apes-message.service';
import { ApesIconModule } from '@shared/apes/icon';

@NgModule({
  imports: [ CommonModule, OverlayModule, ApesIconModule ],
  declarations: [ ApesMessageContainerComponent, ApesMessageComponent ],
  providers: [ APES_MESSAGE_DEFAULT_CONFIG_PROVIDER, ApesMessageService ],
  entryComponents: [ ApesMessageContainerComponent ]
})
export class ApesMessageModule { }
